﻿using System.Threading.Tasks;
using Microsoft.AspNet.Identity;

namespace WebSite.Admin.Identity
{
    /// <summary>
    /// 自定义密码策略
    /// </summary>
    public class CustomPasswordValidator : PasswordValidator
    {
        /// <summary>
        /// 自定义重写验证 
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        public override Task<IdentityResult> ValidateAsync(string item)
        {
            return base.ValidateAsync(item);
        }
    }
}